package StudyCode.summary.Basic.numberformat;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class StringCharFormatter {
	public static void main(String[] args) {
		char character = 'A';
		String string = "Hello World By Java";
		Integer integer = 1234;

		System.out.printf("%c\n", character);
		System.out.printf("%s\n", "Hello World!");
		System.out.printf("%s\n", string);
		System.out.printf("%S\n", string);
		System.out.printf("%s\n", integer);
	}
}
